package route

import (
	"fmt"
	"github.com/gin-gonic/gin"
	"oolee.com/primary/common"
)

func SetUp() {
	fmt.Println("route set up ...")
}

func init() {
	route := gin.Default()
	baseGroup := route.Group("/primary")
	registryLoginRoute(baseGroup)
	fmt.Println("route init ...")
	if route.Run(common.ADDRESS) != nil {
		return
	}
}
